<?php
class QybscstModel extends Action{
	//test
	//
	//############test
	public function getqybscsto(){
		$info=collectinfo(__METHOD__,'',array());
		
		$qybscst=M('qybscst');
		$qybscsto=$qybscst->where('qybscstid=1')->find();

		return createarrok('ok',$qybscsto,'',$info);
	}
	
	public function mdfbygqbscstwenxintishi($qybscstwenxintishi){
		$info=collectinfo(__METHOD__,'$qybscstwenxintishi',array($qybscstwenxintishi));

		$dt=array('qybscstwenxintishi'=>$qybscstwenxintishi);
		
		$qybscst=M('qybscst');
		$qybscst->where('qybscstid=1')->setField($dt);

		return createarrok('ok',$data,'',$info);
	}

} 
?>